package com.example.springbootmybatis.pojo;

/**
 * @program: xxl-job
 * @description: 门禁信号
 * @author: XianJin.Lu
 * @create: 2021-09-07 13:46
 **/
public class SignalMjDhModel {

    /** 唯一标识ID */
    private Long resId;

    /** 创建日期 */
    private String resCreateDate;

    /** 创建人 */
    private String resCreator;

    /** 修改日期 */
    private String resEditDate;

    /** 修改人 */
    private String resEditor;

    /** 版本号 */
    private Long resVersion;

    /** 展示分组名称 */
    private String dspGrpName;

    /** 信号名称（信号标准名） */
    private String name;

    /** 信号编码，前缀是设备编码 */
    private String code;

    /** 01 - 防区报警  02 -防区撤布防状态 03 - 系统状态 */
    private String signalType;

    /** 0-模拟量；1-状态量；2-模拟控制量；3-状态控制量 */
    private Long entityTypeId;

    /** 采集口唯一标识 */
    private String gatherResId;

    /** 采集口id */
    private String gatherId;

    /** 控制器地址 */
    private String gatherAddr;

    /** 回路地址 */
    private String moduleAddr;

    /** 设备地址 */
    private String pointAddr;

    /** 设备唯一编码 */
    private String devCode;

    /** 信号数据 **/
    private String signalValue;

    private String remark;

    private String gatherInstruct;

    public SignalMjDhModel(){}

    public SignalMjDhModel(Long resId, String resCreateDate, String resCreator, String resEditDate, String resEditor, Long resVersion, String dspGrpName, String name, String code, String signalType, Long entityTypeId, String gatherResId, String gatherId, String gatherAddr, String moduleAddr, String pointAddr, String devCode, String signalValue, String remark, String gatherInstruct) {

        this.resId = resId;
        this.resCreateDate = resCreateDate;
        this.resCreator = resCreator;
        this.resEditDate = resEditDate;
        this.resEditor = resEditor;
        this.resVersion = resVersion;
        this.dspGrpName = dspGrpName;
        this.name = name;
        this.code = code;
        this.signalType = signalType;
        this.entityTypeId = entityTypeId;
        this.gatherResId = gatherResId;
        this.gatherId = gatherId;
        this.gatherAddr = gatherAddr;
        this.moduleAddr = moduleAddr;
        this.pointAddr = pointAddr;
        this.devCode = devCode;
        this.signalValue = signalValue;
        this.remark = remark;
        this.gatherInstruct = gatherInstruct;
    }

    public Long getResId() {
        return resId;
    }

    public void setResId(Long resId) {
        this.resId = resId;
    }

    public String getResCreateDate() {
        return resCreateDate;
    }

    public void setResCreateDate(String resCreateDate) {
        this.resCreateDate = resCreateDate;
    }

    public String getResCreator() {
        return resCreator;
    }

    public void setResCreator(String resCreator) {
        this.resCreator = resCreator;
    }

    public String getResEditDate() {
        return resEditDate;
    }

    public void setResEditDate(String resEditDate) {
        this.resEditDate = resEditDate;
    }

    public String getResEditor() {
        return resEditor;
    }

    public void setResEditor(String resEditor) {
        this.resEditor = resEditor;
    }

    public Long getResVersion() {
        return resVersion;
    }

    public void setResVersion(Long resVersion) {
        this.resVersion = resVersion;
    }

    public String getDspGrpName() {
        return dspGrpName;
    }

    public void setDspGrpName(String dspGrpName) {
        this.dspGrpName = dspGrpName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSignalType() {
        return signalType;
    }

    public void setSignalType(String signalType) {
        this.signalType = signalType;
    }

    public Long getEntityTypeId() {
        return entityTypeId;
    }

    public void setEntityTypeId(Long entityTypeId) {
        this.entityTypeId = entityTypeId;
    }

    public String getGatherResId() {
        return gatherResId;
    }

    public void setGatherResId(String gatherResId) {
        this.gatherResId = gatherResId;
    }

    public String getGatherId() {
        return gatherId;
    }

    public void setGatherId(String gatherId) {
        this.gatherId = gatherId;
    }

    public String getGatherAddr() {
        return gatherAddr;
    }

    public void setGatherAddr(String gatherAddr) {
        this.gatherAddr = gatherAddr;
    }

    public String getModuleAddr() {
        return moduleAddr;
    }

    public void setModuleAddr(String moduleAddr) {
        this.moduleAddr = moduleAddr;
    }

    public String getPointAddr() {
        return pointAddr;
    }

    public void setPointAddr(String pointAddr) {
        this.pointAddr = pointAddr;
    }

    public String getDevCode() {
        return devCode;
    }

    public void setDevCode(String devCode) {
        this.devCode = devCode;
    }

    public String getSignalValue() {
        return signalValue;
    }

    public void setSignalValue(String signalValue) {
        this.signalValue = signalValue;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGatherInstruct() {
        return gatherInstruct;
    }

    public void setGatherInstruct(String gatherInstruct) {
        this.gatherInstruct = gatherInstruct;
    }

    @Override
    public String toString() {
        return "SignalMjDhModel{" +
                "resId=" + resId +
                ", resCreateDate='" + resCreateDate + '\'' +
                ", resCreator='" + resCreator + '\'' +
                ", resEditDate='" + resEditDate + '\'' +
                ", resEditor='" + resEditor + '\'' +
                ", resVersion=" + resVersion +
                ", dspGrpName='" + dspGrpName + '\'' +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", signalType='" + signalType + '\'' +
                ", entityTypeId=" + entityTypeId +
                ", gatherResId='" + gatherResId + '\'' +
                ", gatherId='" + gatherId + '\'' +
                ", gatherAddr='" + gatherAddr + '\'' +
                ", moduleAddr='" + moduleAddr + '\'' +
                ", pointAddr='" + pointAddr + '\'' +
                ", devCode='" + devCode + '\'' +
                ", signalValue='" + signalValue + '\'' +
                ", remark='" + remark + '\'' +
                ", gatherInstruct='" + gatherInstruct + '\'' +
                '}';
    }
}
